package cn.wangzengqiang.study.designpattern.factory.own.c;

import cn.wangzengqiang.study.designpattern.factory.own.a.Hele;

/**
 * 饸饹店
 */
public abstract class HeleStore {
    public abstract Hele createHele(String type);

    public Hele sellHele(String type) {
        Hele hele = createHele(type);
        hele.huoMian();
        hele.xiaMian();
        hele.putMutton();
        hele.putSeasoning();
        hele.putSoup();
        return hele;
    }

}
